"""
state.py

Created by daspork on 2012-04-20.
Copyright (c) 2012 Knuckledragger Games. All rights reserved.
"""

import projection


class State(object):
    def __init__(self, window):
        self.window = window
    
    def doPush(self):
        print "State::doPush"
    
    def doPop(self):
        print "State::doPop"
    
    def doDisplay(self, dt):
        print "State::doDisplay(%f)" % dt
    
    def doReshape(self, width, height):
        projection.setViewport(width, height)
        print "State::doReshape(%d, %d)" % (width, height)
        
    def doKeyboardDown(self, key, x, y):
        print "State::doKeyboardDown(%s, %d, %d)" % (key, x, y)
        
    def doKeyboardUp(self, key, x, y):
        print "State::doKeyboardUP(%s, %d, %d)" % (key, x, y)
        
    def doIdle(self, dt):
        #print "State::doIdle(%d)" % dt
        pass
        
    